Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加“解析PDF到md(MinerU)”插件 #2112

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xunge
Copy link

@xunge xunge commented Jan 15, 2025

使用MinerU解析PDF文档到Markdown。(支持版本-1.0.1)
由于MinerU环境与gpt_academic冲突,需要事先创建好名字为MinerU的Conda环境。
安装命令如下:

conda create -n MinerU python=3.10
conda activate MinerU
pip install -U 'magic-pdf[full]' --extra-index-url https://wheels.myhloli.com

默认使用CPU,使用GPU加速至少需要8GB显存,需要修改 ~/magic-pdf.json 中的 device-modecuda
如果Conda环境名字不是MinerU,可以在高级参数输入区输入Conda环境名称。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant